package com.light.sword;

import net.sf.cglib.proxy.Enhancer;

/**
 * @author: Jack
 * 2020/9/11 15:34
 */
public class WorldJTest {
    public static void main(String[] args) {
        Enhancer enhancer = new Enhancer();
        enhancer.setSuperclass(WorldJ.class);
        enhancer.setCallback(new WorldJProxy());
        WorldJ enhanceWorldJ = (WorldJ) enhancer.create();
        enhanceWorldJ.world();
    }
}
